package cn.com.dhc.danlu.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WineModel implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<WineTuple<String, String>> spiritBrandList = new ArrayList<> ();

    public List<WineTuple<String, String>> getSpiritBrandList () {
        return spiritBrandList;
    }

    public void setSpiritBrandList (List<WineTuple<String, String>> spiritBrandList) {
        this.spiritBrandList = spiritBrandList;
    }

    private static class WineTuple <K, V> implements Serializable {
        private static final long serialVersionUID = 1L;
        private K firstValue;
        private V secondValue;

        public K getFirstValue () {
            return firstValue;
        }

        public void setFirstValue (K firstValue) {
            this.firstValue = firstValue;
        }

        public V getSecondValue () {
            return secondValue;
        }

        public void setSecondValue (V secondValue) {
            this.secondValue = secondValue;
        }
    }
}